package com.appspot.showup_app.showup;

import android.content.SharedPreferences;

import com.google.api.client.googleapis.extensions.android.gms.auth.GoogleAccountCredential;

/**
 * Created by YOTAM on 11/26/2014.
 */

public class ApplicationData {
    private static ApplicationData _instance;
    public String emailAccount;
    public GoogleAccountCredential credential;
    public String exchangeCode;


    public static ApplicationData getInstance() {
        if (_instance == null)
            _instance = new ApplicationData();
        return _instance;
    }

    public boolean isLoggedIn() {
        return emailAccount != null;
    }
}
